package com.qf.student.service;

import com.qf.student.entity.Emp;

import java.util.List;

/**
 * 业务实现接口
 */
public interface IEmpService {

    public boolean save(Emp emp); //

    public boolean update(Emp emp); // 根据主键更新

    public boolean remove(Integer EMPNO);

    public Emp getById(Integer EMPNO); // 根据主键查询

    public List<Emp> list();

    public Emp getByName(String ENAME);
}
